﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004A7 RID: 1191
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EPHHHLOCLPK : IMessage<EPHHHLOCLPK>, IMessage, IEquatable<EPHHHLOCLPK>, IDeepCloneable<EPHHHLOCLPK>, IBufferMessage
	{
		// Token: 0x17000F53 RID: 3923
		// (get) Token: 0x0600359D RID: 13725 RVA: 0x00093670 File Offset: 0x00091870
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EPHHHLOCLPK> Parser
		{
			get
			{
				return EPHHHLOCLPK._parser;
			}
		}

		// Token: 0x17000F54 RID: 3924
		// (get) Token: 0x0600359E RID: 13726 RVA: 0x00093677 File Offset: 0x00091877
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EPHHHLOCLPKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000F55 RID: 3925
		// (get) Token: 0x0600359F RID: 13727 RVA: 0x00093689 File Offset: 0x00091889
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EPHHHLOCLPK.Descriptor;
			}
		}

		// Token: 0x060035A0 RID: 13728 RVA: 0x00093690 File Offset: 0x00091890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EPHHHLOCLPK()
		{
		}

		// Token: 0x060035A1 RID: 13729 RVA: 0x000936A3 File Offset: 0x000918A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EPHHHLOCLPK(EPHHHLOCLPK other) : this()
		{
			this.miracleList_ = other.miracleList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060035A2 RID: 13730 RVA: 0x000936CD File Offset: 0x000918CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EPHHHLOCLPK Clone()
		{
			return new EPHHHLOCLPK(this);
		}

		// Token: 0x17000F56 RID: 3926
		// (get) Token: 0x060035A3 RID: 13731 RVA: 0x000936D5 File Offset: 0x000918D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<LIJEAKIKPBA> MiracleList
		{
			get
			{
				return this.miracleList_;
			}
		}

		// Token: 0x060035A4 RID: 13732 RVA: 0x000936DD File Offset: 0x000918DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EPHHHLOCLPK);
		}

		// Token: 0x060035A5 RID: 13733 RVA: 0x000936EB File Offset: 0x000918EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EPHHHLOCLPK other)
		{
			return other != null && (other == this || (this.miracleList_.Equals(other.miracleList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060035A6 RID: 13734 RVA: 0x00093720 File Offset: 0x00091920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.miracleList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060035A7 RID: 13735 RVA: 0x00093754 File Offset: 0x00091954
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060035A8 RID: 13736 RVA: 0x0009375C File Offset: 0x0009195C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060035A9 RID: 13737 RVA: 0x00093765 File Offset: 0x00091965
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.miracleList_.WriteTo(ref output, EPHHHLOCLPK._repeated_miracleList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060035AA RID: 13738 RVA: 0x0009378C File Offset: 0x0009198C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.miracleList_.CalculateSize(EPHHHLOCLPK._repeated_miracleList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060035AB RID: 13739 RVA: 0x000937C5 File Offset: 0x000919C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EPHHHLOCLPK other)
		{
			if (other == null)
			{
				return;
			}
			this.miracleList_.Add(other.miracleList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060035AC RID: 13740 RVA: 0x000937F3 File Offset: 0x000919F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060035AD RID: 13741 RVA: 0x000937FC File Offset: 0x000919FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.miracleList_.AddEntriesFrom(ref input, EPHHHLOCLPK._repeated_miracleList_codec);
				}
			}
		}

		// Token: 0x04001508 RID: 5384
		private static readonly MessageParser<EPHHHLOCLPK> _parser = new MessageParser<EPHHHLOCLPK>(() => new EPHHHLOCLPK());

		// Token: 0x04001509 RID: 5385
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400150A RID: 5386
		public const int MiracleListFieldNumber = 2;

		// Token: 0x0400150B RID: 5387
		private static readonly FieldCodec<LIJEAKIKPBA> _repeated_miracleList_codec = FieldCodec.ForMessage<LIJEAKIKPBA>(18U, LIJEAKIKPBA.Parser);

		// Token: 0x0400150C RID: 5388
		private readonly RepeatedField<LIJEAKIKPBA> miracleList_ = new RepeatedField<LIJEAKIKPBA>();
	}
}
